from flask import Blueprint, render_template, session

index4 = Blueprint('index4', __name__)


@index4.context_processor
def my_func():
    return {'title': '论python的学习难度','count': 2000}


@index4.context_processor
def my_func1():
    my_dict = {
        'title': '论python的学习难度11',
        'count': 200011
    }
    return dict(my=my_dict)


@index4.route('/index-new2')
def my_index():
    return render_template('index4.html')
